cmake_minimum_required(VERSION 2.6)

#Configuration du projet
project(FunBall)


SET(CMAKE_CXX_FLAGS "-std=c++0x -pedantic -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -Wfloat-equal -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow -Weffc++ -Wredundant-decls -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Wlogical-op -Winline -ggdb3")

#Configuration de l'exécutable
file(
GLOB_RECURSE
source_files
src/*
)


add_executable(
FunBall
${source_files}
)

target_link_libraries(
FunBall
sfml-system
sfml-window
sfml-graphics
Box2D
)


